home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / gnu / djgpp / contrib / dvx / inc / x11 / xmu / atoms.h next >
Encoding:
C/C++ Source or Header  |  1993-07-15  |  3.0 KB  |  82 lines

  1. /*
  2.  * $XConsortium: Atoms.h,v 1.3 89/12/08 12:03:56 rws Exp $
  3.  *
  4.  * Copyright 1988 by the Massachusetts Institute of Technology
  5.  *
  6.  * Permission to use, copy, modify, and distribute this software and its
  7.  * documentation for any purpose and without fee is hereby granted, provided 
  8.  * that the above copyright notice appear in all copies and that both that 
  9.  * copyright notice and this permission notice appear in supporting 
  10.  * documentation, and that the name of M.I.T. not be used in advertising
  11.  * or publicity pertaining to distribution of the software without specific, 
  12.  * written prior permission. M.I.T. makes no representations about the 
  13.  * suitability of this software for any purpose.  It is provided "as is"
  14.  * without express or implied warranty.
  15.  *
  16.  * The X Window System is a Trademark of MIT.
  17.  *
  18.  * The interfaces described by this header file are for miscellaneous utilities
  19.  * and are not part of the Xlib standard.
  20.  */
  21.  
  22.  
  23. #ifndef _XMU_ATOMS_H_
  24. #define _XMU_ATOMS_H_
  25.  
  26. typedef struct _AtomRec *AtomPtr;
  27.  
  28. extern AtomPtr
  29.     _XA_ATOM_PAIR,
  30.     _XA_CHARACTER_POSITION,
  31.     _XA_CLASS,
  32.     _XA_CLIENT_WINDOW,
  33.     _XA_CLIPBOARD,
  34.     _XA_COMPOUND_TEXT,
  35.     _XA_DECNET_ADDRESS,
  36.     _XA_DELETE,
  37.     _XA_FILENAME,
  38.     _XA_HOSTNAME,
  39.     _XA_IP_ADDRESS,
  40.     _XA_LENGTH,
  41.     _XA_LIST_LENGTH,
  42.     _XA_NAME,
  43.     _XA_NET_ADDRESS,
  44.     _XA_NULL,
  45.     _XA_OWNER_OS,
  46.     _XA_SPAN,
  47.     _XA_TARGETS,
  48.     _XA_TEXT,
  49.     _XA_TIMESTAMP,
  50.     _XA_USER;
  51.  
  52. #define XA_ATOM_PAIR(d)        XmuInternAtom(d, _XA_ATOM_PAIR)
  53. #define XA_CHARACTER_POSITION(d) XmuInternAtom(d, _XA_CHARACTER_POSITION)
  54. #define XA_CLASS(d)        XmuInternAtom(d, _XA_CLASS)
  55. #define XA_CLIENT_WINDOW(d)    XmuInternAtom(d, _XA_CLIENT_WINDOW)
  56. #define XA_CLIPBOARD(d)        XmuInternAtom(d, _XA_CLIPBOARD)
  57. #define XA_COMPOUND_TEXT(d)    XmuInternAtom(d, _XA_COMPOUND_TEXT)
  58. #define XA_DECNET_ADDRESS(d)    XmuInternAtom(d, _XA_DECNET_ADDRESS)
  59. #define XA_DELETE(d)        XmuInternAtom(d, _XA_DELETE)
  60. #define XA_FILENAME(d)        XmuInternAtom(d, _XA_FILENAME)
  61. #define XA_HOSTNAME(d)        XmuInternAtom(d, _XA_HOSTNAME)
  62. #define XA_IP_ADDRESS(d)    XmuInternAtom(d, _XA_IP_ADDRESS)
  63. #define XA_LENGTH(d)        XmuInternAtom(d, _XA_LENGTH)
  64. #define XA_LIST_LENGTH(d)    XmuInternAtom(d, _XA_LIST_LENGTH)
  65. #define XA_NAME(d)        XmuInternAtom(d, _XA_NAME)
  66. #define XA_NET_ADDRESS(d)    XmuInternAtom(d, _XA_NET_ADDRESS)
  67. #define XA_NULL(d)        XmuInternAtom(d, _XA_NULL)
  68. #define XA_OWNER_OS(d)        XmuInternAtom(d, _XA_OWNER_OS)
  69. #define XA_SPAN(d)        XmuInternAtom(d, _XA_SPAN)
  70. #define XA_TARGETS(d)        XmuInternAtom(d, _XA_TARGETS)
  71. #define XA_TEXT(d)        XmuInternAtom(d, _XA_TEXT)
  72. #define XA_TIMESTAMP(d)        XmuInternAtom(d, _XA_TIMESTAMP)
  73. #define XA_USER(d)        XmuInternAtom(d, _XA_USER)
  74.  
  75. extern AtomPtr XmuMakeAtom( /* char* */ );
  76. extern Atom XmuInternAtom( /* Display*, AtomPtr */ );
  77. extern void XmuInternStrings( /* Display*, String*, Cardinal, Atom* */);
  78. extern char *XmuGetAtomName( /* Display*, Atom */ );
  79. extern char *XmuNameOfAtom( /* AtomPtr */ );
  80.  
  81. #endif /* _XMU_ATOMS_H_ */
  82.